package com.rainbow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rainbow.entity.Menu;

import java.util.List;

/**
 * @Author rainbow
 **/
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getAllMenu();

    List<Menu> getMenusByHrId(Long hrId);

    List<Menu> menuTree();

    List<Long> getMenusByRid(Long rid);
}
